<!--<?php
require_once template('header'); 
require_once template('help_left');
print <<<EOT
<!-- 右边开始 -->
<style type="text/css">
<!--
.v_table {
	clear: both;
	width: 100%;
	border: 1px solid #ddd;
}
*html .v_table {
	margin-top: 10px;
}
.v_table caption {
	line-height: 22px;
	font-weight: bold;
	text-align: left;
	font-size: 14px;
	border-bottom: none;
	color: #f60;
	margin-top: 10px;
	padding-bottom: 3px;
}
*html .v_table caption {
	margin-top: 0px;
}
.v_table th {
	background: #fafafa;
	line-height: 25px;
	border-bottom: 1px solid #ddd;
}
.v_table td {
	line-height: 25px;
	padding-left: 8px;
	text-align: left;
}
.v_table td.c {
	text-align: center;
}
#show_f {
	clear: both;
	border: 1px solid #ddd;
	background: #fafafa;
	text-align: left;
	margin: 5px 0;
	padding: 5px 8px;
}
#show_f span {
	float: right;
}
-->
</style>
	<div id="right">
		<div id="location"><p><b>$lang[location]</b>：$navigation</p></div>
		<table cellpadding="0" cellspacing="0" class="v_table">
			<caption>$poll[poll_question]</caption>

			<tr>
				<th width="50%">$lang[vote_msg]</th>
				<th width="10%">$lang[vote_num]</th>
				<th width="10%">$lang[vote_per]</th>
				<th width="30%">$lang[vote_pic]</th>
			</tr>
<!--
EOT;
for($i=1;$i<=$poll[poll_num] ; $i++) {
$temp_pa = "poll_answer".$i;
$temp_ps = "statistics_answer".$i;
if($poll[$temp_ps] > 0) $temp_per = round(($poll[$temp_ps] / $sum_poll) * 100); else $temp_per = 0;
print <<<EOT
-->				
			<tr>

				<td>$i. $poll[$temp_pa]</td>
				<td class="c">$poll[$temp_ps]</td>
				<td class="c">$temp_per%</td>
				<td><hr size="7" width="$temp_per%" noshade color="#cccccc"></td>
			</tr>
<!--
EOT;
} print <<<EOT
-->			
		</table>
		<div id="show_f"><span><a href="javascript:parent.close();"><img src="$imgpath/bu_pop_close.gif" /></a></span>$lang[vote_poll] [$sum_poll] $lang[vote_sum] $view_vote </div>
	</div>
	<!-- 右边结束 -->
<!--
EOT;
?>-->